package com.wffz.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wffz.mapper.BankMapper;
import com.wffz.po.Bank;
import com.wffz.service.BankService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sunlei
 * @className BankServiceImpl
 * @Description
 * @date 2023-04-22 17:43
 **/
@Service
@Slf4j
public class BankServiceImpl implements BankService {

    @Autowired
    private BankMapper bankMapper;

    @Override
    public List<Bank> queryBankList() {
        QueryWrapper<Bank> wrapper = new QueryWrapper<>();
        List<Bank> list = bankMapper.selectList(wrapper);
        return list;
    }
}
